package com.tencent.miniproject.been;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by PC on 2018/5/30.
 */

public class HotTag {

    /**
     * result : success
     * message : [{"tag":"t1","count":123},{"tag":"t2","count":100},{"tag":"t3","count":12}]
     */

    private String result;
    private List<LabelAndTimes> message;

    public static HotTag objectFromData(String str) {

        return new Gson().fromJson(str, HotTag.class);
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<LabelAndTimes> getMessage() {
        return message;
    }

    public void setMessage(List<LabelAndTimes> message) {
        this.message = message;
    }

}
